import { defineStore } from 'pinia'
import request from '../utils/request'

//购物车
export const useCarStore = defineStore('carStore', {
    state() {
        return {
            carList: [] as any
        }
    },
    getters: {

    },
    actions: {
        carListPush(item: any) {
            this.carList.push(item)
        }
    }
})

